<?php
/**
 * SocialEngine
 *
 * @category   Application_Core
 * @package    User
 * @copyright  Copyright 2006-2010 Webligo Developments
 * @license    http://www.socialengine.net/license/
 * @version    $Id: login.tpl 7244 2010-09-01 01:49:53Z john $
 * @author     John
 */
?>
<?php echo $this->head()->jquery();?>
<script type="text/javascript">
     var jq=jQuery.noConflict();
     jq(document).ready(function(){
         jq('#captcha_update').live('click',function(){
        	 var url = '';
        	 url = "<?php echo $this->baseUrl('/user/signup/ajax-update-element-captcha')?>";
        	 //url = "http://localhost/test7/user/signup/ajax-update-element-captcha";
        	 jq.ajax({
      		     type: "POST",
      		     url: url,
      		     success: function(msg){
      		         jq('#captcha-wrapper').html(msg);
      		   }
      		 }); 
             return false;
         })
     });
</script>
<?php echo $this->form->render($this) ?>

